home *** CD-ROM | disk | FTP | other *** search
-
- AnfyFade 2.1 - Copyright (C) by Fabio Ciucci 1996/98
-
-
- This applet can execute a cross-fade between any GIF or JPG image, the only
- requirement is that all images must be same size.
- Remember, are needed: AnFade.class , Lware.class and anfy.class.
- You must upload these 3 .class files and insert the <applet> tag on your
- html document to add this applet to your page.
- Here an example of what you have to write in the html (the things anfter
- the ; are comments with min-max values acceptet):
-
-
- <applet code="AnFade.class" width=150 height=132> ; Name, Width, Height
- <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
- <param name=regcode value="NO"> ; Register code (if you have it)
- <param name=regnewframe value="YES"> ; Reglink opened in new frame?
- <param name=regframename value="_blank"> ; Name of new frame for reglink
- <param name=image1 value="imfad1.gif"> ; Image 1 to load
- <param name=image2 value="imfad2.gif"> ; Image 2 to load
- <param name=image3 value="imfad3.gif"> ; Image 3 to load
- <param name=image4 value="imfad4.gif"> ; Image 4 to load
- <param name=image5 value="imfad5.gif"> ; Image 5 to load
- <param name=image6 value="imfad6.gif"> ; Image 6 to load (etc.)
- <param name=link1 value="http://www.anfiteatro.it/java.html"> ; link 1
- <param name=link2 value="NO"> ; link 2
- <param name=link3 value="NO"> ; link 3
- <param name=link4 value="http://www.anfiteatro.it/java.html"> ; link 4
- <param name=link5 value="http://www.anfiteatro.it/java.html"> ; link 5
- <param name=link6 value="http://www.anfiteatro.it/java.html"> ; link 6
- <param name=statusmsg1 value="anfy 1"> ; statusbar msg on image 1
- <param name=statusmsg2 value="anfy 2"> ; statusbar msg on image 2
- <param name=statusmsg3 value="anfy 3"> ; statusbar msg on image 3
- <param name=statusmsg4 value="anfy 4"> ; statusbar msg on image 4
- <param name=statusmsg5 value="anfy 5"> ; statusbar msg on image 5
- <param name=statusmsg6 value="anfy 6"> ; statusbar msg on image 6
- <param name=res value="1"> ; resolution (1-8)
- <param name=speed value="8"> ; speed of fade (1-255)
- <param name=pause value="1500"> ; pause in milliseconds.
- <param name=memdelay value="1000"> ; Memory deallocation delay
- <param name=priority value="3"> ; Task priority (1..10)
- <param name=MinSYNC value="10"> ; Min. milliseconds/frame for sync
- Sorry, your browser doesn't suppor Java. ; Msg in no java browsers
- </applet>
-
- ---------
-
-
- Here detailed instructions about how to change parameters:
-
-
- The images can be of any size, GIF and/or JPG. But must be same size.
-
- The credits parameter can't be changed otherwise the applet will not work.
-
- To activate the reg parameters read the shareware registration notes.
- In the "regcode" parameter you have to place the registration code you
- purchase from the author. If it is correct and the applet is run from the
- registered domain name, you can use "link" parameters, where you can specify
- an URL where bring user when the applet is clicked.
- If you set to "YES" regnewframe, you can specify a frame where load the
- reglink:
-
- "_blank" : To load the link in a new blank unnamed browser window.
- "_self" : To load the link into the same window the applet occupies.
- "_parent" : To load the link into the immediate FRAMESET parent.
- "_top" : To load the link into the top body of the window.
-
- Otherwise the frame name, for example "myframe1".
-
- res determine the size of the applet: with res=1 it equals the size of the
- pics, with res=2 is double, etc.
- Remember to update the width and height tags: with res=1 must be same as the
- size of pics, with res=2 must be double etc.
- Otherwise the applet will be not well displayed on browsers.
-
- You can decide HOW MUCH images add in crossfading slideshow.
- The min is 2, max is up to you.
- If you want to fade between 2 only images, do something like:
-
- <param name=image1 value="imfad1.gif">
- <param name=image2 value="imfad2.gif">
-
- If you want to fade between 3 images, do something like:
-
- <param name=image1 value="imfad1.gif">
- <param name=image2 value="imfad2.gif">
- <param name=image3 value="imfad3.gif">
-
- And so on. Just add image4,image5,.....
-
- With statusmsg1,statusmsg2,statusmsg3... parameters you can change the message
- displayed in the statusbar when the different images are displayed.
-
- Paying shareware registration, the link1,link2,... parameters will be enabled
- and this applet can become a crossfade banner:
-
- <param name=link1 value="http://www.anfiteatro.it/java.html">
- <param name=link2 value="NO">
-
- With this example, if the aplet is clicked when image 1 is displayed, it will
- bring to http://www.anfiteatro.it/java.html, but if cliecked when image 2
- is displayed, any linking will be done since we wrote "NO".
- You can place an URL link related to each image, just use same number.
-
-
-
- The speed parameter determine the speed of fade between images. To be exact,
- it determine the number of frames, calculated as 256/speed.
- A good value is 8, where you have 32 frames, a good resolution for 65000
- colors displays, and quite fast. Values under 8 are useful only for who has
- a 24bit video mode (16 millions of colors), otherwise is only slower.
-
- The pause, in milliseconds, determine the "hold" time for images between
- the fades.
-
-
-